var a = Array.from("1234");
console.log(a,"arr")


const obj = {
    length:3
}

var from = Array.from(obj,(x,i)=>{
    console.log(x,i,"x")
    return i
});
console.log(from,"from")
